package com.jy.servlet;

import javax.servlet.ServletException;
import javax.servlet.annotation.WebServlet;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
import java.io.IOException;

@WebServlet("/vip/*")
public class VipServlet extends BaseServlet {
    protected void tv(HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException {
        System.out.println("vip 访问视频");
    }

    protected void adv(HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException {
        System.out.println("vip 访问无广告");
    }

    protected void gift(HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException {
        System.out.println("vip 每月收到礼物");
    }
}
